package com.hy.loong.pojo;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlRootElement;

import org.hibernate.validator.constraints.NotBlank;


@XmlRootElement  
public class User implements Serializable{

	private static final long serialVersionUID = 1L;
	@NotBlank
	private Integer id;
	@NotBlank
	private String username;
	@NotBlank
	private String password;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
}
